import random
print("欢迎使用👏🏻👏🏻👏🏻")
class1=input("要点哪个班的‘幸运儿’？")
name1=int(input("几号"))
name2=int(input("到几号"))
name1=[]
z=0
a=int(input("几个人？"))
if a>0:
    name1[z]=random.randint(name1,name2)
    a-=1
    z+=1
print(f"哈哈哈😁，就是你了{class1}班的{name}")



















"""import random
fp="python3/study/sueijishu.txt"
f=open(fp,"r+")

line=f.readline(10000)
print(line)

name=[line[0]]
print(name)

geshu=line[1]
print(geshu)

geshu=geshu[0]
geshu=int(geshu)
a=random.randint(1,geshu)
name=name[a]
print("欢迎使用👏🏻👏🏻👏🏻")
class1=input("要点哪个班的‘幸运儿’？")
print(f"哈哈哈😁，就是你了{class1}班的{name}")
f.close()


while line>0:
    print(9-line)
    line1=f.readline(10000)
    print(line1)
    line1=f.readline(10000)
    print(line1)
    line-=1
    time.sleep(1)

a="a"
while a!="":
    a=input()
    """